package org.gp.core.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 黑名单表
 * </p>
 *
 * @author LuoLiang
 * @since 2017-03-14
 */
public class Blacklist extends Model<Blacklist> {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id")
	private Integer id;

	/**
	 * 
	 */
	@TableField(value="user_id")
	private Integer userId;

	/**
	 * 用户id
	 */
	private String operator;

	/**
	 * 加入黑名单的原因
	 */
	private String reason;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Override
	protected Serializable pkVal() {
		return id;
	}
}
